*********************************************************
* Table 1: Correlation Coefficients of Sexual Violence  *
*********************************************************
use "Table 3 Hypoth 2_Rape and Sexual Violence_NarangLu.dta"
pwcorr svconflict MAXstate_prev MAXai_prev MAXhrw_prev, star(.1)



*********************************************
* Table 2, Hypothesis 1,  Womens Rights in CPA *
*********************************************
use "H1 Table 2_Implementation of Women's Rights Provisions from Comprehensive Peace Agreements.dta"

ologit women_implem PercentFemaleUNPeacekeepers TotalUNMilitaryPresence dead_1000 war_dur infant_rate conflict_type polity_2_1lag_1 if women_prov--1





******************************************************
* Table 3, Hypothesis 2: Rape and Sexuial Violence   *
******************************************************
use "Table 3 Hypoth 2_Rape and Sexual Violence_NarangLu.dta"


* Model 1: Rape *
oprobit svconflict PercentFemaleUNPeacekeepers TotalUNMilitaryPresence ethwar magfail aim fertility2 newkill polity2 durest year lpop, cluster(conflictcode)


* Model 2: Max Sexual Violene (SVAC) *
oprobit svacMAXof3 PercentFemaleUNPeacekeepers TotalUNMilitaryPresence ethwar magfail aim fertility2 newkill polity2 durest year lpop, cluster(conflictcode)





************************************************************
* Table 4, Hypothesis 3: Peace Duratation after Civil War   *
************************************************************
use "Table 4 Hypoth 3_Duration of Peace_NarangLu.dta"


* Model 1: All Conflict Terminations *
stcox PercentFemaleUNPeacekeepers troop police militaryobservers, robust nohr


* Model 2: Settlements and Low Activity Terminations *
stcox PercentFemaleUNPeacekeepers troop police militaryobservers wardur brv_warAgg osvAll lntpop polity2 polity2Sq rebpolwing numprevepisodes lnrgdppc if negsettleFull==1 | lowactFull==1 , robust nohr
